Avoid mime sniffing where possible
authorMatthias Clasen <mclasen@redhat.com>
Sat, 8 Feb 2020 15:22:54 +0000 (10:22 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 8 Feb 2020 15:22:54 +0000 (10:22 -0500)
commit2f17ab3ce76266062be180ca022ce2fbbc3fea02
tree0ced3c5a37c7c3d7f7593131426acc941c1a6c72
parent55b60f6da90ac279ffb62081144f20f726a9a8ce
Avoid mime sniffing where possible

When we are loading symbolic pngs or svgs, we know
that we need to the png or svg loader, so there is
no need to go through (surprisingly expensive) mime
sniffing to find the right loader.
gtk/gdkpixbufutilsprivate.h
gtk/gtkcssimagerecolor.c
gtk/tools/gdkpixbufutils.c